package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 考试分类树形图展示
 *
 * @author maying
 * @since 2018年11月27日16:50:48
 */
@ApiModel(value = "ExamClassifyTreeModel：树形结构")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamClassifyTreeModel {
    /**
     * id
     */
    @ApiModelProperty(value = "主键id", required = true)
    private String id;

    /**
     * 节点名称
     */
    @ApiModelProperty(value = "节点名称", required = true)
    private String name;

    /**
     * 父节点
     */
    @ApiModelProperty(value = "父节点", required = true)
    private String parentId;

    /**
     * 开启状态
     */
    @ApiModelProperty(value = "开启状态", required = true)
    private boolean open;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String operator;
}
